The Infinispan Local Cache as a Data Source example will demonstrate how to access an Infinispan Cache using the translator type of "infinispan-cache" of the Object ("object") Translator .
infinispan-local-cache
All the code discussed in this tutorial is available in the
infinispan-local-cache
quickstart.
See the README.md for directions to run the quick start.
This example will show the following features:
Define the source model to the object cache using DDL metadata
Define the view model using DDL, which uses the OBJECTTABLE to transform the cache object into relational terms.
Define the translator type of "infinispan-cache" to use to read the Infinispan Cache.
Setting up the Infinispan Cache as a data source, for which the translator is mapped to via the connection-jndi-name.